package com.adjaisd.scarecrow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author adjaisd
 * @since 2022-03-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("sc_quota")
@ApiModel(value="Quota对象", description="")
public class Quota implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "指标id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "指标名")
    private String name;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "指标主题")
    private String subject;

    @ApiModelProperty(value = "json中key名字")
    private String valueKey;

    @ApiModelProperty(value = "json中value类型")
    private String valueType;

    @ApiModelProperty(value = "设备号或识别码")
    private Long number;

    @ApiModelProperty(value = "回调地址")
    private String webhook;

    @ApiModelProperty(value = "安全范围")
    private String reference;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "指标制定者id")
    private Long ownerId;

}
